package com.wancaijinfu.parse;



import org.json.JSONException;
import org.json.JSONObject;

import android.util.Log;

import com.wancaijinfu.javabean.ReturnCode;

public class ReturnCodeParse extends PostParse {

	@Override
	Object parseSuccess(JSONObject object) throws JSONException {
		ReturnCode code = new ReturnCode();
		Log.e("msg", object+"");
		
		//JSONObject obj = object.getJSONObject("msg");
		code.status = object.getString("status");
		code.message = object.getString("message");
		return code;
	}	
}
